import request from '../utils/request';
export function login({ mobile, code }) {
  return request({
    url: '/v1_0/authorizations',
    method: 'post',
    data: { mobile, code },
  });
}
export function userInfo() {
  return request({
    url: '/v1_0/user/profile',
  });
}
